getBalances

Retrieves an unmodifiable list of all balances (TotalAmount objects) for a given account, for all as-of dates (will return null if the account is not present). Individual balances will be in the account's local currency, and can be null when outOfDateNull is enabled and where the account did not exist on the as-of date specified.


fun getBalances(account: Account, targetCurrency: CurrencyType): List<TotalAmount?>?

Retrieves an unmodifiable list of all balances (TotalAmount objects) for a given account, for all as-of dates (will return null if the account is not present). The balances will be converted from the account's currency to the targetCurrency (using the rate on each balance's as-of date). When asOfDates is null (for today/future balance) then the current rate is used. Individual balances can be null when outOfDateNull is enabled and where the account did not exist on the as-of date specified

Since

MD2027